package com.briup.corejava.day07;

public class SchoolTest_2 {
    public static void main(String[] args) {
        // 给静态变量赋值（也可以封装，但本例未封装）
        // School.library = "栋梁图书馆";
        // 调用静态方法
        School.showStatic();
        System.out.println("-------------");
        // 创建三个学校
        School s1 = new School();
        s1.show();
        s1.toString();
        System.out.println("-------------");
        School s2 = new School();
        s1.show();
        System.out.println("-------------");
        School s3 = new School();
        s1.show();
    }
}
